package com.easygoods.entity;

import com.easygoods.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
public class PayRecord extends BaseEntity {
    public static final String PAY_CHANNEL = "payChannel";
    public static final String ORDER_ID = "orderId";
    public static final String PAY_OPEN_ID = "payOpenId";
    public static final String AMOUNT = "amount";
    public static final String FEE_TYPE = "feeType";
    public static final String CASH_AMOUNT = "cashAmount";
    public static final String CASH_FEE_TYPE = "cashFeeType";
    public static final String COUPON_AMOUNT = "couponAmount";
    public static final String COUPON_COUNT = "couponCount";
    public static final String BANK_TYPE = "bankType";
    public static final String MERCHANT_ID = "merchantId";
    public static final String MERCHANT_NAME = "merchantName";
    public static final String PAY_TIME = "payTime";
    public static final String REMARK = "remark";
    public static final String FINISH = "finish";

    private String payChannel;
    private String orderId;
    private String payOpenId;
    private BigDecimal amount;
    private String feeType;
    private BigDecimal cashAmount;
    private String cashFeeType;
    private BigDecimal couponAmount;
    private Integer couponCount;
    private String bankType;
    private String merchantId;
    private String merchantName;
    private Date payTime;
    private String remark;
    private String finish;
}
